package com.ruoyi.material.mapper;

import com.ruoyi.material.domain.MateEvaluate;
import com.ruoyi.material.domain.MaterialManufactuter;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;
import java.util.Map;

/**
 * @Author
 * @Version 1.0
 */
@Mapper
public interface MateManufactuterMapper {
    /**
     * 新增生产商管理
     *
     * @param djManufacturer 生产商管理
     * @return 结果
     */
    public int insertMateManufacturer(MaterialManufactuter djManufacturer);

    public List<MaterialManufactuter> selectMateManufactuter(MaterialManufactuter materialManufactuter);

    public  List<MaterialManufactuter> selectMateManufactuterById(MaterialManufactuter materialManufactuter);

    public int updateMateManufacturer(MaterialManufactuter materialManufactuter);

    public int insertEvaluate(MateEvaluate mateEvaluate);

    public MateEvaluate selectEdit(Map<String,Object> resMap);

    public List<MateEvaluate> selectEvaluateList(MateEvaluate  mateEvaluate);

    public int updateAdvice(MateEvaluate mateEvaluate);

    public String selectMaterialName(Long materialId);

    public MateEvaluate selectEvaluateLast(Long deptId);

    public MateEvaluate selectEvaluate(Long mateproductId);


}



